package com.wp.rcm.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 销售表
 */
@Data
public class Chance {
    private Integer chcId;
    private String chcSource;
    private String chcCustName;
    private String chcTitle;
    private String chcRate;
    private String chcLinkman;
    private String chcTel;
    private String chcDesc;
    private Integer chcCreateId;
    private String chcCreateBy;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date chcCreateDate;

    private Integer chcDueId;
    private String chcDueTo;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date chcDueDate;
    private String chcStatus;

    public Chance() {
    }

    public Chance(Integer chcId, String chcSource, String chcCustName, String chcTitle, String chcRate, String chcLinkman, String chcTel, String chcDesc, Integer chcCreateId, String chcCreateBy, Date chcCreateDate, Integer chcDueId, String chcDueTo, Date chcDueDate, String chcStatus) {
        this.chcId = chcId;
        this.chcSource = chcSource;
        this.chcCustName = chcCustName;
        this.chcTitle = chcTitle;
        this.chcRate = chcRate;
        this.chcLinkman = chcLinkman;
        this.chcTel = chcTel;
        this.chcDesc = chcDesc;
        this.chcCreateId = chcCreateId;
        this.chcCreateBy = chcCreateBy;
        this.chcCreateDate = chcCreateDate;
        this.chcDueId = chcDueId;
        this.chcDueTo = chcDueTo;
        this.chcDueDate = chcDueDate;
        this.chcStatus = chcStatus;
    }
}
